package com.bigtotoro.shuiyincamera.model;

/**
 * auther: Administrator.
 * Date: 2019/4/22.
 */

public class ColorEntity {
    private int id;
    private String color_number;

    public ColorEntity(int id, String color_number) {
        this.id = id;
        this.color_number = color_number;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getColor_number() {
        return color_number;
    }

    public void setColor_number(String color_number) {
        this.color_number = color_number;
    }


    @Override
    public boolean equals(Object obj) {
        if (this.id == ((ColorEntity)obj).getId()){
            return true;
        }
        return false;
    }
}
